﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LoveEat.MODEL.WeChat
{

    public class Ticket
    {
        public string  ticket { get; set; }
        public string expires_in { get; set; }
        public DateTime Time { get; set; }
        public string errmsg { get; set; }

    
    }
    /// <summary>  
    ///QrTicket类   
    /// </summary>  
    public class QrTicket
    {
        /// <summary>
        /// 凭借此ticket可以在有效时间内换取二维码。  
        /// </summary>
        public string Ticket;

        /// <summary>  
        /// 凭证有效时间，单位：以秒为单位。最大不超过1800
        /// </summary>  
        public string ExpireSeconds;

        /// <summary>  
        /// 二维码图片解析后的地址  开发者可根据该地址自行生成需要的二维码图片
        /// </summary>  
        public string Url;

        /// <summary>  
        /// 二维码图片地址
        /// </summary>  
        public string ImageUrl;

        /// <summary>  
        /// 错误代码
        /// </summary>  
        public string ErrorMsg;
    }
}
